package com.cpems.system.domain.bo;

import com.cpems.common.core.domain.BaseEntity;
import com.cpems.common.core.validate.AddGroup;
import com.cpems.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.math.BigDecimal;

/**
 * 项目信息业务对象 sys_project_info
 *
 * @author ruoyi
 * @date 2025-03-19
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class SysProjectInfoBo extends BaseEntity {

    /**
     *
     */
    @NotNull(message = "不能为空", groups = { EditGroup.class })
    private Long projectId;

    /**
     * 项目类别
     */
    @NotBlank(message = "项目类别不能为空", groups = { AddGroup.class, EditGroup.class })
    private String typeId;

    /**
     * 项目名称
     */
    @NotBlank(message = "项目名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String projectName;

    /**
     * 目标COP
     */
    @NotNull(message = "目标COP不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal targetCop;

    /**
     * 项目状态
     */
    @NotBlank(message = "项目状态不能为空", groups = { AddGroup.class, EditGroup.class })
    private String status;

    /**
     * 项目概况
     */
    @NotBlank(message = "项目概况不能为空", groups = { AddGroup.class, EditGroup.class })
    private String overview;

    /**
     * 图片路径
     */
    @NotBlank(message = "图片路径不能为空", groups = { AddGroup.class, EditGroup.class })
    private String imageUrl;

    /**
     * 城市编码
     */
    private String cityCode;

    /**
     * 备注说明
     */
    private String remark;


}
